package com.service;

import java.util.List;

import com.dao.EasyBuy_productDao;
import com.dao.EasyBuy_productDaoImpl;
import com.entity.EasyBuy_product;

public class EasyBuy_productServiceImpl implements EasyBuy_productService {
	
	EasyBuy_productDao productDao = new EasyBuy_productDaoImpl();

	@Override
	public List<EasyBuy_product> selectIdInfo(int id) {
		return productDao.selectIdInfo(id);
	}

	@Override
	public List<EasyBuy_product> selectAllShowInfo() {
		return productDao.selectAllShowInfo();
	}

	@Override
	public int idDeleteInfo(int id) {
		return productDao.idDeleteInfo(id);
	}

	@Override
	public int updateInfo(EasyBuy_product product) {
		return productDao.updateInfo(product);
	}

	@Override
	public int addInfo(EasyBuy_product product) {
		return productDao.addInfo(product);
	}

}
